import request from '@/utils/request'
export default {


  //文化宣传/oaDjyd/index/queryList
  // 文宣发布查询
  getList(){
    return request({
      url:`/oa/wenxuan/index/queryList`,
      method:'get'
    })
  },
// /oaDjyd/index/queryById/{id}
// 根据id查看详情
  xiangqList(id){
    return request({
      url:`/oa/wenxuan/index/queryById/${id}`,
      method:'get'
    })
  },
// /oaDjyd/index/infoType
// 门户分类
  infoTypes(){
    return request({
      url:`/oa/wenxuan/index/infoType`,
      method:'get'
    })
  },

  ///oaDjyd/insert
  // /添加
  addWenxuan(user){
    return request({
      url:`/oa/wenxuan/insert`,
      method:'post',
      data:user
    })
  },








}
